package cn.com.klun.tjy.logic;

import cn.com.klun.tjy.common.baseInterface.ILogics;
import cn.com.klun.tjy.common.constant.ResultEnum;
import cn.com.klun.tjy.dao.entity.TblStockDayInfos;
import cn.com.klun.tjy.dao.mapper.ser.TblStockDayInfosSerMapper;
import cn.com.klun.tjy.dubbo.bean.TjyParametersVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wangheming
 * @ClassName AccountInfoQueryLogic
 * @Description 财富信息查询
 * @date 2017年11月02日 13:30
 */
@Service
public class DiagnoseStockLogic implements ILogics<TjyParametersVo> {
    private Logger logger = LoggerFactory.getLogger(DiagnoseStockLogic.class);

    @Autowired
    private TblStockDayInfosSerMapper tblStockDayInfosSerMapper;


    @Override
    public ResultEnum exec(TjyParametersVo tjyParametersVo) throws Exception {
        // 再根据一只股票的回溯历史数据 筛选出这种情况下出现的次数 盈利情况 汇总成报表
        TblStockDayInfos queryStockInfo  = (TblStockDayInfos)tjyParametersVo.getInfo("stockDayInfo");
        TblStockDayInfos tblStockDayInfos = new TblStockDayInfos();
        tblStockDayInfos.setStoId(queryStockInfo.getStoId());
        // tblStockDayInfos.set
        // tblStockDayInfosSerMapper.queryList(stockDayInfo);



        return null;
    }


}
